import axios from "axios";


//根据大学CollegeName 获取指定大学各省录取信息
export function getCollegeAdmitByCollegeName(collegeName,provinceAdmit,currentPage) {
    return axios(
        {
            method: "post",
            url: "/college-admit/getCollegeAdmitByCollegeName",
            data: {
                collegeName:collegeName,
                provinceAdmit:provinceAdmit,
                currentPage:currentPage
            }
        }
    )
}


//根据大学CollegeName provinc预测指定大学各省录取信息
export function predictionNextYear(collegeName,province) {
    return axios(
        {
            method: "post",
            url: "/college-admit/predictionNextYear",
            data: {
                collegeName:collegeName,
                province:province
            }
        }
    )
}


export default {getCollegeAdmitByCollegeName,predictionNextYear}